/**
 * COPYRIGHT. Harry Wu 2011. ALL RIGHTS RESERVED.
 * Project: just
 * Author: Harry Wu <harrywu304@gmail.com>
 * Created On: Jun 12, 2011 4:48:10 PM
 *
*/ 
package org.justframework.demo;

import org.justframework.api.connector.Request;
import org.justframework.api.connector.Response;

/**
 * @author whx
 *
 */
public class TopicResource {

	/* (non-Javadoc)
	 * @see org.justframework.core.ResourceService#get(org.justframework.core.Request)
	 */
	public void get(Request request, Response response) {
		response.setContent("get");
	}

	/* (non-Javadoc)
	 * @see org.justframework.core.ResourceService#delete(org.justframework.core.Request)
	 */
	public void delete(Request request, Response response) {
		response.setContent("delete");
	}

	/* (non-Javadoc)
	 * @see org.justframework.core.ResourceService#post(org.justframework.core.Request)
	 */
	public void post(Request request, Response response) {
		response.setContent("post");
	}

	/* (non-Javadoc)
	 * @see org.justframework.core.ResourceService#put(org.justframework.core.Request)
	 */
	public void put(Request request, Response response) {
		response.setContent("put");
	}

}
